package ch.jamme.exception;

import ch.jamme.reference.*;

/**
 * This exception is thrown when the unmarshall process can't resolve a given reference id
 * @author Mario Fusco
 */
public class UnresolvedReferenceException extends UnmarshallException {

	private static final long serialVersionUID = 1L;

	public UnresolvedReferenceException(String message) {
		super(message);
	}

	public UnresolvedReferenceException(ForwardReference reference) {
		this("Unable to resolve " + reference);
	}
}
